package day8;

public class Centtest {
    public static void main(String[] args) {
        Cent a=new Cent("0551-6767667","金寨路");
        Car b=new Car("黑色","皖A12345");
        Car c=new Volkswagen("白色","皖A54321");
        Car d=new Wuling("棕色","皖A23451");
        a.detect(b);
        a.detect(c);
        a.detect(d);
    }
}
